package com.frxuexi.shop.intent

import com.frxuexi.lib_base.mvi.IUiIntent
import com.frxuexi.lib_base.room.MyShopBean

sealed class ShopIntent:IUiIntent {

    data object getHomeBean:ShopIntent()

    data class getShops(val type:Int,val page:Int,val limit:Int):ShopIntent()

    data class getShopById(val id:Int,val type:String):ShopIntent()

    data class addCart(val map: Map<String,Any>):ShopIntent()

    data class addLove(val shopBean: MyShopBean):ShopIntent()

    data class isLove(val id:Int):ShopIntent()

    data class deleteLove(val shopBean: MyShopBean):ShopIntent()

    data class getReplys(val id:Int,val limit:Int,val page:Int,val type:String):ShopIntent()
}